package org.itboys.core.dto.goods;

import lombok.Data;
import org.itboys.core.dto.common.BaseDto;

import java.util.List;

/**
 * 作者：zzq
 * 时间：2018/10/17
 * 描述：商品
 */
@Data
public class SundayGoodsDto extends BaseDto{
    private Long sceneId;//场景id
    private Long goodsId;//商品id
    private String goodsCode;//商品code
    private String kcsl;//商品
    private String goodsName;
    private String goodsSurname;
    private String goodsColor;
    private String goodsImg;
    private Integer xAxis;//x轴
    private Integer yAxis;//y轴
    private Integer num;//数量

    //尺码
    private List<SundayGoodsSizeDto>  sizeDtos;


    public SundayGoodsDto() {
    }

    public SundayGoodsDto(Long id,Long goodsId, String goodsCode, String kcsl, String goodsName,
                          String goodsSurname, String goodsColor,  String goodsImg) {
        super.setId(id);
        this.goodsId = goodsId;
        this.goodsCode = goodsCode;
        this.kcsl = kcsl;
        this.goodsName = goodsName;
        this.goodsSurname = goodsSurname;
        this.goodsColor = goodsColor;
        this.goodsImg = goodsImg;
    }
    public SundayGoodsDto(Long goodsId, String goodsCode, String kcsl, String goodsName,
                          String goodsSurname, String goodsColor, String goodsImg) {
        this.goodsId = goodsId;
        this.goodsCode = goodsCode;
        this.kcsl = kcsl;
        this.goodsName = goodsName;
        this.goodsSurname = goodsSurname;
        this.goodsColor = goodsColor;
        this.goodsImg = goodsImg;
    }

}
